package com.example.controller;

import io.swagger.v3.oas.annotations.Operation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
    @Operation(summary = "测试接口", description = "用于测试接口是否正常")
    @GetMapping("/test")
    public String test() {
        return "Hello, World!";
    }
}
